import { type } from "@testing-library/user-event/dist/type"

export interface hospitalSetParamsType {
    page: number,
    limit: number,
    hosname?: string,
    hoscode?: string
}

export interface hospitalSetType {
    records: hospitalSetRecordsType
    total: number,
    size: number,
    current: number,
    orders: [],
    hitCount: boolean,
    searchCount: boolean,
    pages: number
}
export interface hospitalSetItemType {
    id: number,
    createTime: string,
    updateTime: string,
    isDeleted: number,
    param: {},
    hosname: string,
    hoscode: string,
    apiUrl: string,
    signKey: string,
    contactsName: string,
    contactsPhone: string,
    status: number
}



export type hospitalSetRecordsType = hospitalSetItemType[]

//新增医院请求的参数类型
export interface addHospitalParamType {
    apiUrl: string,
    contactsName: string,
    contactsPhone: string,
    hoscode: string,
    hosname: string,
}

//更新医院请求的参数类型
export interface updataHosParamsType extends addHospitalParamType{
    id:string
}